package com.pctx.devicemanager.service;

import com.pctx.devicemanager.pojo.DeviceUser;

import java.util.List;

/**
 * Created by chason on 2018/3/1.10:42
 */
public interface DeviceUserService {

    boolean add(DeviceUser du) throws Exception;

    boolean update(DeviceUser du) throws Exception;

    DeviceUser getByUuid(String uuid) throws Exception;

    List<DeviceUser> getByDeviceUuid(String deviceUuid) throws Exception;

    DeviceUser getByDeviceUuidAndUserUuid(String deviceUuid, String userUuid) throws Exception;
}
